﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ToDoIt2.Aspects;
using System.ComponentModel;
using ToDoIt2.Model.Persistent.UI;
using pklib.ViewModel;
using MonitoredUndo;

namespace ToDoIt2.ViewModel {
	[SupportsUndo]
	[NotifyPropertyChanged]
	public class TabPrefsVM : ViewModelBase<TabPrefs> {
		/** UI */
		public bool EditingHeader { get; set; }

		/** Data */
		public string Title { get { return this.Target.Title; } set { this.Target.Title = value; } }

		public TabPrefsVM() : base() {
		}

		public TabPrefsVM(TabPrefs Target) : base(Target) {
		}
	}
}
